<?
include_once("/home/gru/public_html_dev/lib/common.php");
include_once("/home/gru/public_html_dev/lib/cDB.php");
include_once("/home/gru/public_html_dev/lib/cDAO.php");


$db= new cDB();
$dao = new cDAO($db->getCon());


//-----------------------------------------------------------------------------
// 쿠폰 카테고리코드 업데이트
//-----------------------------------------------------------------------------
$opt = " where categoryCode=99";
$q  = " SELECT name  FROM coupon $opt";


$arr = $dao->getSheet($q);
if($arr==NULL)exit;


foreach($arr as $i=>$v){
	debug_flush($v['name']);
}

$db->close();
?>
